package com.woniu.day8.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.day8.pojo.Carcharge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CarchargeMapper extends BaseMapper<Carcharge> {
    @Select("SELECT * FROM t_carcharge WHERE id=#{id}")
    List<Carcharge> selectCarchargeById(Integer id);
}
